package com.design.mode.factory;

public class ProductB extends Product {

	@Override
	void method() {
		System.out.println("BBBBBBBB");

	}

}
                                                  